//package com.lzh.others.Collections;
//
///**
// * @Description:
// * @Author: LiuZiHao
// * @Date: 2022/5/18 10:57
// */
//public class CollectionsMain {
//    public static void main(String[] args) {
//        /**
//         * Swaps the elements at the specified positions in the specified list.
//         * (If the specified positions are equal, invoking this method leaves
//         * the list unchanged.)
//         *
//         * @param list The list in which to swap elements.
//         * @param i the index of one element to be swapped.
//         * @param j the index of the other element to be swapped.
//         * @throws IndexOutOfBoundsException if either <tt>i</tt> or <tt>j</tt>
//         *         is out of range (i &lt; 0 || i &gt;= list.size()
//         *         || j &lt; 0 || j &gt;= list.size()).
//         * @since 1.4
//         */
//        /*Collections.swap(list,i,j);*/
//    }
//}
